package com.ybkj.daijia.common;

import java.io.File;

public class PhotoDeleteUtil {

    public static boolean deleteFile(String fileurl) {
        File file = new File(fileurl);
        if (file.isFile() && file.exists()) {
            boolean delete = file.delete();
            if (delete) {
                return true;
            } else {
                return false;
            }
        } else {
            return false;
        }
    }
}
